package cn.spring.framework.redis.codec;

/**
 *编解码
 */
public interface Codec {
    Object encode(long expire, Object data);

    Object decode(Object data);
}
